<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class week1 extends Model
{
     //选择数据表
     protected $table='week1';
    //  关闭时间戳
    public $time=false;
     // 注册
     public static function insertOne($data){
         return self::insert($data);
     }
    //  登录
    public static function login($where){
        return self::where($where)->count();
    }
}
